package com.CMS.client.ui.record;

import java.util.Date;

public class PrivilegeRecord extends BaseRecord{
	
	public PrivilegeRecord() {}
	
	public PrivilegeRecord(String icon,long id, Date addDate,Date modDate, boolean flagActivo, String type,String path) {
		super(icon,id, addDate,modDate,flagActivo);
		setType(type);
		setPath(path);		 
	}	
	
	public void set(String icon,String type, String path){
		setType(type);
		setPath(path);
	}
	
	public void setType(String type){
		setAttribute("type", type);
	}
	
	public void setPath(String path){
		setAttribute("path", path);
	}
	
	public String getType(){
		return getAttributeAsString("type");
	}
	
	public String getPath(){
		return getAttributeAsString("path");
	}
	
}
